Creating HEX files for the 6502 Using the ADX-65 Cross Assembler •Double click on the Avocet Wide icon on your desktop •Create a new project file •Select Project>>New from the toolbar •Navigate to c:\WIDE\ASMfiles •Select default.prj •Save if the program asks you to •Click on Create a new asm file •Now go to the program of your choice, on our website •NOTE: The following steps must be done exactly in the fashion shown here •To copy text, right click on mouse and choose Select All or Alt-A then Ctrl-C •If you just sweep the text with your mouse to highlight the text, the copying might not work right •In the blank asm file window, paste your text •If the lines: DEFSEG XASMSEG, ABSOLUTE SEG XASMSEG •Appear above the line: org $f000 •In the beginning of the program, then delete it •Save your asm file with a better name •Now we need to add files to our project •Right click on Source Files within the project window and select Add Files.. •Change Files of type: C Source Files (*.c) to ASM Source files (*asm) •Select your asm file (save all *.asm files under c:\WIDE\ASMfiles\...) •Repeat the last couple of steps to add the file c:\WIDE\X6502\t6502.asm •Click on the LNK button on the tool bar •This is the linking file •You need to have the input & output files match your *.asm file name •Click on the build icon •Check your Output window for file names & errors •Follow instruction for the EMP-21 or SuperPro depending on which programmer you are using •Your *.hex file is in c:\WIDE\ASMfiles\ THE END